package com.ihr360.binlog.service;

import com.ihr360.binlog.dto.BinLogReceivedEvent;
import com.ihr360.commons.entity.event.BinLogReceivedEventEntity;

import java.util.List;

public interface BinLogReceiveEventService {

    public BinLogReceivedEvent save(BinLogReceivedEvent event);


    /**
     * 同步员工薪资变动数据
     */
    public void syncStaffSalaryProfile();


    /**
     * 获取员工薪资变动事件
     *
     * @return
     */
    List<BinLogReceivedEventEntity> getStaffSalaryChangeEvent();

    /**
     * 将员工薪资时间状态改为完成
     *
     * @param eventIds
     */
    void finishStaffSalaryChangeEvent(List<Long> eventIds);
}
